package com.back.demo.service.MyEasyExcel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

// lombok注解，自动生成getter/setter、构造方法、toString等实体类通用方法
@Data
public class StudentInfoX {
    private Integer userId;
    // @ExcelProperty注解 设置当前字段表头名称和所在的列的索引

    @ExcelProperty(value = "学号")
    private String studentId;

    @ExcelProperty(value = "姓名")
    private String studentName;

    @ExcelProperty(value = "性别")
    private Integer studentGender;

    @ExcelProperty(value = "手机号码")
    private String phoneNumber;

    @ExcelProperty(value = "电子邮箱")
    private String email;

    @ExcelProperty(value = "专业编号")
    private Integer majorId;

    @ExcelProperty(value = "班级编号")
    private Integer classId;

    @ExcelProperty(value = "政治面貌编号")
    private Integer politicalStatus;

    @ExcelProperty(value = "学位编号")
    private Integer studentDegree;
    /*// @ExcelIgnore 导出时忽略这个字段
    @ExcelIgnore
    private String ignore;*/
}
